<?php

define("MODEL2_DBCONF", "lib/db/dbconf.php");

if ($_SERVER['SERVER_NAME'] == 'main') {
	define("MODEL2_CREATE_CLASSES", true);
	define("MODEL2_CREATE_PSP", false);
	define("MODEL2_FORCE_COMPILE", true);
	define("MODEL2_CHMOD", 0777);
	define("MODEL2_DOJO_URL", "/phpEclipseProjekte/PiCTest/js/dojo/");
	define("MODEL2_JSEXTRAS_URL", "/phpEclipseProjekte/PiCTest/");
	$GLOBALS['cfgDebugMode'] = true;
	define("MODEL2_INCLUDE_PATH", "./lib:../XICS/lib");
} else {
	define("MODEL2_DOJO_URL", "/js/dojo/");
	define("MODEL2_JSEXTRAS_URL", "/");
	define("MODEL2_INCLUDE_PATH", "./lib");
}

include_once('../XICS/lib/phpinchains/core.php');
PHPinChains::prepareAndStartChain('app.xml');

?>